<?php

namespace app\model\company;

use app\base\BaseModel;

class CompanyArticleLikeModel extends BaseModel
{
    protected $name = 'company_article_like';

    /**
     * 获取详情
     *
     * @param [type] $condition
     * @return void
     */
    public function getInfoData($condition)
    {
        $data = $this
            ->where('id', $condition['id'])
            ->where('user_id', $condition['user_id'])
            ->find();
        return $data;
    }
}